<template>
  <div>
    <One />
    <Two />
    <Three />
    <button @click="$children[0].oneCount++">改变one</button>
  </div>
</template>

<script>
import One from './components/One.vue';
import Two from './components/Two.vue';
import Three from './components/Three.vue';
export default {
  name: 'App',
  components: {
    One,
    Two,
    Three,
  },
  mounted() {
    console.log(this.$children);
  },
};
</script>

<style></style>
